<template>
  <div>
      <h2>商品相关信息</h2>
      <div>
        <div>商品id: <strong>{{renderData.goodInfo}}</strong></div>
        <div>商品名称: <strong>{{renderData.goodName}}</strong></div>
        <div>商品描述: <slot name="desc" :desc='renderData.desc'>这是一本好书</slot></div>
      </div>
  </div>
</template>

<script>
export default {
  name: 'GoodInfor',

  props: {
    renderData: Object,
  },
}
</script>

<style></style>
